package com.weichat.dao;

import com.weichat.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/5
 * Time: 20:41
 */
public interface ProductInfoDao extends JpaRepository<ProductInfo,String> {

    public List<ProductInfo> findByProductStatusIn(Integer status);

    public List<ProductInfo> findByProductStatus(Integer status);

    public ProductInfo save(ProductInfo productInfo);


}
